import type { RouteRecordRaw } from "vue-router"
import type {CateforyObj} from '@/api/product/attr/type'
interface userState {
    token: String | null;
    menuRoutes: RouteRecordRaw[],
    username:string,
    avatar:string
}

//定义分类仓库state
interface CategoryState {
    c1Id:string | number,
    c1Arr:CateforyObj[],
    c2Arr:CateforyObj[],
    c2Id:string | number,
    c3Arr:CateforyObj[],
    c3Id:string | number,
}

export type {userState,CategoryState}